package com.ruoyi.merchant.mapper;

import java.util.List;
import com.ruoyi.merchant.domain.ShopWithdrawal;

/**
 * 提现记录Mapper接口
 * 
 * @author Wevon
 * @date 2024-09-11
 */
public interface ShopWithdrawalMapper 
{
    /**
     * 查询提现记录
     * 
     * @param id 提现记录主键
     * @return 提现记录
     */
    public ShopWithdrawal selectShopWithdrawalById(Long id);

    /**
     * 查询提现记录列表
     * 
     * @param shopWithdrawal 提现记录
     * @return 提现记录集合
     */
    public List<ShopWithdrawal> selectShopWithdrawalList(ShopWithdrawal shopWithdrawal);

    /**
     * 新增提现记录
     * 
     * @param shopWithdrawal 提现记录
     * @return 结果
     */
    public int insertShopWithdrawal(ShopWithdrawal shopWithdrawal);

    /**
     * 修改提现记录
     * 
     * @param shopWithdrawal 提现记录
     * @return 结果
     */
    public int updateShopWithdrawal(ShopWithdrawal shopWithdrawal);

    /**
     * 删除提现记录
     * 
     * @param id 提现记录主键
     * @return 结果
     */
    public int deleteShopWithdrawalById(Long id);

    /**
     * 批量删除提现记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopWithdrawalByIds(Long[] ids);
}
